from django.db import models

class ModelWithDate(models.Model):
    class Meta:
        abstract = True
    
    date_created = models.DateTimeField(auto_now_add = True,  auto_now = False)
    date_modified = models.DateTimeField(auto_now_add = False,  auto_now = True)